package com.mali.log.domain.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("biz_log")
public class BizLog {
    @TableId(type = IdType.AUTO)
    private Long id;
    @TableField("trace_id")
    private String traceId;
    @TableField("service")
    private String service;
    @TableField("module")
    private String module;
    @TableField("action")
    private String action;
    @TableField("operator_id")
    private Long operatorId;
    @TableField("target_id")
    private Long targetId;
    @TableField("result")
    private String result;
    @TableField("message")
    private String message;
    @TableField("timestamp")
    private Long timestamp;
}